If (isset ($ _ POST [submit]) does it mean to determine whether the variable $ _ POST [submit] is configured? If this variable is in the execution of other code, use if (isset ($ _ POST ['submit ']) {
}
Difference between if ($ _ POST [submit])
Use if (isset ($ _ POST ['submit ']) {}Difference between if ($ _ POST [submit]) and if (isset ($ _ POST [submit]) when submitting a formThe first method produces a warning, and the second method is more rigorous.In addition, it is best to add
This should be done with if (Isset ($_post[' submit ')) {
}
difference between if ($_post[submit]) and if (Isset ($_post[submit)) when submitting a form
The first method will show a warning, the second is relatively more rigorous.
There is also
In the chrome browser, isset ($ _ POST ['submit ']) does not return True. it can be successful in IE, but not in chrome. Is it a browser BUG ?, The code is okay. how do you test it. Chrome version ., Go to the gg browser and check if there are any
Can an http post request sent by the client socket trigger the isset of the PHP page on the server? I use a SOCKET on the client to send an HTTP POST request POST/send. PHP/1.1 Host: www. temp. comUser-Agent: Mozilla/5.0 (can an http POST request
Can be successful under IE, but not under Chrome, is it a bug in the browser itself?
Reply to discussion (solution)
Paste code to.Chrome is the most respected standard, only to say that your code is not in line with the standards of the place
Does the client socket send an HTTP POST request to trigger the isset of the server PHP page?
I use the socket on the client to send the HTTP POST request
post/send.php http/1.1
Host:www.temp.com
user-agent:mozilla/5.0 (Windows; U Windows NT 5.1;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.